var path = require('path');

module.exports = {
	entry: {
		app: './src/js/app.js'			
	},
	output: {
		path: path.join(__dirname, "src/dist_js"),
		filename: "app.js"
	},
	 module: {
		//加载器配置
		loaders: [
			{ test: /\.css$/, loader: 'style-loader!css-loader' },
			{ test: /\.scss$/, loader: 'style!css!sass?sourceMap'},
			{test: /\.html$/,loader: "html"},

			{ test: /\.(png|jpg)$/, loader: 'url-loader?limit=8192'}
		]
	}
}
